<!DOCTYPE html>
<html>
  <head>
    <title>医院管理系统</title>
	
    <meta name="keywords" content="keyword1,keyword2,keyword3">
    <meta name="description" content="this is my page">
    <meta name="content-type" content="text/html; charset=UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <link rel="shortcut icon" href="./images/icon/favicon.ico" type="image/x-icon" />
    <!--<link rel="stylesheet" type="text/css" href="./styles.css">-->	
    <style type="text/css">
    		input[type=file] {
    				  width: 144px;
   					  height: 41px;
  					  cursor: pointer;
  					  font-size: 30px;
 				      outline: medium none;
    				  position: absolute;
 					  filter:alpha(opacity=0);
  					  -moz-opacity:0;
  					  opacity:0; 
  					  left:0px;
  					  top: 0px;
    				}
    </style>
  </head>  
  <body ng-cloak ng-app="main">    
  	 <div ui-view="navbar"></div>
     <div class="container" style="position: relative;top: 51px;" >
  	    <div class="row clearfix" >
  	 	<div ui-view="body"></div>
  	 	</div>
  	 </div> 
  </body>
  <link href="./jsTools/bootstrap-3.3.7-dist/css/bootstrap.min.css" rel="stylesheet">
  <script type="text/javascript" src="./jsTools/jquery-3.1.1.min.js"></script>
  <script type="text/javascript" src="./jsTools/bootstrap-3.3.7-dist/js/bootstrap.min.js"></script>
    
  <script type="text/javascript" src="./jsTools/angular/angular.min.js"></script>
  <script type="text/javascript" src="./jsTools/angular-ui-router/release/angular-ui-router.min.js"></script>
  
  <script src="./jsTools/jquery-validation-1.16.0/dist/jquery.validate.min.js"></script>
  <script src="./jsTools/jquery-validation-1.16.0/dist/localization/messages_zh.js"></script>
  <script src="./jsTools/jquery-validation-1.16.0/dist/additional-methods.js"></script>
  
  <script src="jsTools/jquery.growl/javascripts/jquery.growl.js"></script>
  <link href="jsTools/jquery.growl/stylesheets/jquery.growl.css" rel="stylesheet"></link> 
    
  <script type="text/javascript">
 	angular.module('main',['ui.router']).
 	config(['$stateProvider','$urlRouterProvider',function(stateProvider,urlRouterProvider){
  		urlRouterProvider.otherwise('/main');
  		stateProvider.state('default',{
  			url:'/main',
  			views:{
  				'navbar':{
  				templateUrl:'view/html/navbar.html'},
  				'body':{}
  			} 			
  		}).state('main',{
  			url:'/main',
  			views:{
  				'navbar':{
  				templateUrl:'view/html/navbar.html'},
  				'body':{
  				templateUrl:''}
  			}
  			}).state('register',{
  			url:'/resgister',
  			views:{
  				'navbar':{
  				templateUrl:'view/html/navbar.html'},
  				'body':{
  				templateUrl:'view/html/body/register.html'}
  			}
  		}).state('forget',{
  			url:'/forget',
  			views:{
  				'navbar':{
  				templateUrl:'view/html/navbar.html'},
  				'body':{
  				templateUrl:'view/html/body/getPassword.html'}
  			}
  		}) 		;
  	}]).controller('forget',['$scope',function($scope){
  			$scope.send=function(){
					  			$.post("outLogin/getpassword",{email:$scope.email},function(msg){				
									 	if(msg.status==100){				 	
									 			$.growl.notice({
					     					 title: "",
					     						 message:msg.message
					   						 }); 
									 	}
									 	else{ 
									 		$.growl.error({
					     					 title: "",
					     					 message:msg.message
					   						 }); 
									 	}
					  				});
					  			}  					
  		}])
  	;	
  	
  	 	
  </script>
</html>
